<!--
 * @Description: 测试表格
 * @Author: Mr.chen
 * @LastEditors: Mr.chen
 * @LastEditTime: 2022-09-13 16:46:53
-->
<template>
  <el-button @click="handleClick(1)">type1</el-button>
  <el-button @click="handleClick(2)">type2</el-button>
</template>
<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const handleClick = type => {
  router.push({
    path: '/pages/chrTable',
    query: {
      type
    }
  })
}
</script>
